home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXSSSSeeeettttSSSSttttaaaatttteeee((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXSSSSeeeettttSSSSttttaaaatttteeee((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XSetState, XSetFunction, XSetPlanemask, XSetForeground,
- XSetBackground - GC convenience routines
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- XSetState(_d_i_s_p_l_a_y, _g_c, _f_o_r_e_g_r_o_u_n_d, _b_a_c_k_g_r_o_u_n_d, _f_u_n_c_t_i_o_n,
- _p_l_a_n_e__m_a_s_k)
- Display *_d_i_s_p_l_a_y;
- GC _g_c;
- unsigned long _f_o_r_e_g_r_o_u_n_d, _b_a_c_k_g_r_o_u_n_d;
- int _f_u_n_c_t_i_o_n;
- unsigned long _p_l_a_n_e__m_a_s_k;
-
- XSetFunction(_d_i_s_p_l_a_y, _g_c, _f_u_n_c_t_i_o_n)
- Display *_d_i_s_p_l_a_y;
- GC _g_c;
- int _f_u_n_c_t_i_o_n;
-
- XSetPlaneMask(_d_i_s_p_l_a_y, _g_c, _p_l_a_n_e__m_a_s_k)
- Display *_d_i_s_p_l_a_y;
- GC _g_c;
- unsigned long _p_l_a_n_e__m_a_s_k;
-
- XSetForeground(_d_i_s_p_l_a_y, _g_c, _f_o_r_e_g_r_o_u_n_d)
- Display *_d_i_s_p_l_a_y;
- GC _g_c;
- unsigned long _f_o_r_e_g_r_o_u_n_d;
-
- XSetBackground(_d_i_s_p_l_a_y, _g_c, _b_a_c_k_g_r_o_u_n_d)
- Display *_d_i_s_p_l_a_y;
- GC _g_c;
- unsigned long _b_a_c_k_g_r_o_u_n_d;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _b_a_c_k_g_r_o_u_n_d
- Specifies the background you want to set for the
- specified GC.
-
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _f_o_r_e_g_r_o_u_n_d
- Specifies the foreground you want to set for the
- specified GC.
-
- _f_u_n_c_t_i_o_n Specifies the function you want to set for the
- specified GC.
-
- _g_c Specifies the GC.
-
- _p_l_a_n_e__m_a_s_k
- Specifies the plane mask.
-
-
-
-
- Page 1 (printed 4/30/98)
-
-
-
-
-
-
- XXXXSSSSeeeettttSSSSttttaaaatttteeee((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXSSSSeeeettttSSSSttttaaaatttteeee((((3333XXXX11111111))))
-
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _X_S_e_t_S_t_a_t_e function sets the foreground, background,
- plane mask, and function components for the specified GC.
-
- _X_S_e_t_S_t_a_t_e can generate _B_a_d_A_l_l_o_c, _B_a_d_G_C, and _B_a_d_V_a_l_u_e errors.
-
- _X_S_e_t_F_u_n_c_t_i_o_n sets a specified value in the specified GC.
-
- _X_S_e_t_F_u_n_c_t_i_o_n can generate _B_a_d_A_l_l_o_c, _B_a_d_G_C, and _B_a_d_V_a_l_u_e
- errors.
-
- The _X_S_e_t_P_l_a_n_e_M_a_s_k function sets the plane mask in the
- specified GC.
-
- _X_S_e_t_P_l_a_n_e_M_a_s_k can generate _B_a_d_A_l_l_o_c and _B_a_d_G_C errors.
-
- The _X_S_e_t_F_o_r_e_g_r_o_u_n_d function sets the foreground in the
- specified GC.
-
- _X_S_e_t_F_o_r_e_g_r_o_u_n_d can generate _B_a_d_A_l_l_o_c and _B_a_d_G_C errors.
-
- The _X_S_e_t_B_a_c_k_g_r_o_u_n_d function sets the background in the
- specified GC.
-
- _X_S_e_t_B_a_c_k_g_r_o_u_n_d can generate _B_a_d_A_l_l_o_c and _B_a_d_G_C errors.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _B_a_d_A_l_l_o_c The server failed to allocate the requested
- resource or server memory.
-
- _B_a_d_G_C A value for a GContext argument does not name a
- defined GContext.
-
- _B_a_d_V_a_l_u_e Some numeric value falls outside the range of
- values accepted by the request. Unless a specific
- range is specified for an argument, the full range
- defined by the argument's type is accepted. Any
- argument defined as a set of alternatives can
- generate this error.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11),
- XSetClipOrigin(3X11), XSetFillStyle(3X11), XSetFont(3X11),
- XSetLineAttributes(3X11), XSetTile(3X11)
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 4/30/98)
-
-
-
-